package com.作业.Day14.泛型;

public class Homework1 {
    public static void main(String[] args) {
        MyList<String> sm = new MyList<>();
        sm.eat("迟迟");
    }
}
class MyList<T>{
    T t;
    void eat(T e){
        System.out.println(e);
    }
}